﻿/*---------------------------------------------------------------------------
	ZaRan	-	A Totallly Automatic CFD Software
	Copyright (C) ,Since 2020
-------------------------------------------------------------------------------
License
	This file is part of ZaRan.

!	@file		gird.h
!	@brief	the purpose of this file.
!	@author	Chen Jie.
\*---------------------------------------------------------------------------*/
#include"simulation/include/Simulation.h"
#include"simulation/include/SimuMultiBlockGrid.h"
#include"simulation/include/SimuZaRan.h"
#include"TestCase/include/TestCase.h"
#include<iostream>
#include<fstream>
#include<memory>
#include<string>

int main()
{
	//	TestPointCloudReadSpeed();
	shared_ptr< Simulation > simulation;//仿真对象
	SimulationType simuType;//仿真类型，决定仿真什么类型问题
	simuType = SimulationType::zaran;
	switch (simuType)
	{
	case SimulationType::zaran:
		simulation = std::make_shared< SimulationZaRan>();
		break;
	case SimulationType::multigrid:
		simulation = std::make_shared<SimulationMultiGrid>();
		break;
	default:
		simulation = std::make_shared<SimulationZaRan>();
	}
	simulation->Run();
}